package com.example.redis6.service.impl;

import com.example.redis6.dao.VideoCardDao;
import com.example.redis6.model.VideoCardDo;
import com.example.redis6.service.VideoCardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * description: VideoCardServiceImpl <br>
 * date: 2021/7/20 09:39 <br>
 *
 * @author: ZhangYixin <br>
 * version: 1.0 <br>
 */
@Service
public class VideoCardServiceImpl implements VideoCardService {

    @Autowired
    private VideoCardDao videoCardDao;

    @Override
    public List<VideoCardDo> getVideoCardList() {
        return videoCardDao.list();
    }
}
